const arr = [0, 1, 2, 3, 4, 5];
for (let index = 0; index < arr.length; index++) {
  console.log("i++", index);
}
for (let index = 0; index < arr.length; ++index) {
  console.log("++i", index);
}
